<template>
	<view class="wrap">
		<u-navbar  :title="$t('ggxq')" title-width="340" :border-bottom="false" back-icon-color="#fff" title-color="#fff" :background="{ backgroundColor: '#0030A8' }"></u-navbar>
		<view class="tom-container">
			<view class="title">{{news.title}}</view>
			<view class="time">{{news.createDate}}</view>
			<view class="content">
				<rich-text :nodes="news.richContent"></rich-text>
			</view>
		</view>
	</view>
</template>

<script>
	import {mapState,mapGetters} from 'vuex';
	export default {
		data() {
			return {
				
			};
		},
		onLoad() {
			
		},
		onShow() {
			
		},
		computed:{
			...mapState(['news'])
		},
		methods:{
			
		}
	}
</script>

<style lang="scss" scoped>
	.wrap{
		background: none;
		.tom-container{
			padding: 40rpx 30rpx;
		}
		.title{
			color: #333;
			font-size: 24rpx;
			font-weight: bold;
		}
		.time{
			margin-top: 10rpx;
			color: #999999;
			font-size: 24rpx;
		}
		.content{
			margin-top: 40rpx;
			color: #333;
			font-size: 24rpx;
			line-height: 40rpx;
			word-break:break-all;
		}
	}
</style>
